﻿using _11.外观模式.Facade;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _11.外观模式
{
    internal class Client
    {
        public void Start()
        {
            Computer computer = new Computer();
            computer.SetBIOS(new Hardware.BIOS());
            computer.SetCPU(new Hardware.CPU());
            computer.SetDesktop(new Hardware.Desktop());
            computer.SetHardDisk(new Hardware.HardDisk());
            computer.SetMemory(new Hardware.Memory());
            computer.SetOS(new Hardware.OS());
            computer.PowerOn();
        }
    }
}
